define(['pubsub'], function (pubsub) {
    pubsub.subscribe('news.bad', function (event, data) {
        console.log('Someone is lying, It\'s not truth: '+data.msg);
    });

    return function () {
        pubsub.publish('news.good', {msg: 'Today is sunny!'});
        console.log('a done');
    };
});